-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: rds_cluster_snapshot_copy resource #40398
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @RFHold 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
% make testacc PKG=rds TESTS=TestAccRDSClusterSnapshotCopy_
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/rds/... -v -count 1 -parallel 20 -run='TestAccRDSClusterSnapshotCopy_' -timeout 360m
2024/12/12 15:40:56 Initializing Terraform AWS Provider...
--- PASS: TestAccRDSClusterSnapshotCopy_kmsKeyID (217.88s)
--- PASS: TestAccRDSClusterSnapshotCopy_destinationRegion (227.03s)
--- PASS: TestAccRDSClusterSnapshotCopy_disappears (228.51s)
--- PASS: TestAccRDSClusterSnapshotCopy_basic (230.86s)
--- PASS: TestAccRDSClusterSnapshotCopy_tags (238.90s)
--- PASS: TestAccRDSClusterSnapshotCopy_share (369.76s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/rds 375.068s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccRDSClusterSnapshotCopy_' PKG=rds ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.3 test ./internal/service/rds/... -v -count 1 -parallel 4 -run=TestAccRDSClusterSnapshotCopy_ -timeout 360m
2024/12/13 10:18:16 Initializing Terraform AWS Provider...
=== RUN TestAccRDSClusterSnapshotCopy_basic
=== PAUSE TestAccRDSClusterSnapshotCopy_basic
=== RUN TestAccRDSClusterSnapshotCopy_share
=== PAUSE TestAccRDSClusterSnapshotCopy_share
=== RUN TestAccRDSClusterSnapshotCopy_tags
=== PAUSE TestAccRDSClusterSnapshotCopy_tags
=== RUN TestAccRDSClusterSnapshotCopy_disappears
=== PAUSE TestAccRDSClusterSnapshotCopy_disappears
=== RUN TestAccRDSClusterSnapshotCopy_destinationRegion
=== PAUSE TestAccRDSClusterSnapshotCopy_destinationRegion
=== RUN TestAccRDSClusterSnapshotCopy_kmsKeyID
=== PAUSE TestAccRDSClusterSnapshotCopy_kmsKeyID
=== CONT TestAccRDSClusterSnapshotCopy_basic
=== CONT TestAccRDSClusterSnapshotCopy_disappears
=== CONT TestAccRDSClusterSnapshotCopy_tags
=== CONT TestAccRDSClusterSnapshotCopy_share
--- PASS: TestAccRDSClusterSnapshotCopy_disappears (207.10s)
=== CONT TestAccRDSClusterSnapshotCopy_kmsKeyID
--- PASS: TestAccRDSClusterSnapshotCopy_basic (331.28s)
=== CONT TestAccRDSClusterSnapshotCopy_destinationRegion
--- PASS: TestAccRDSClusterSnapshotCopy_share (340.16s)
--- PASS: TestAccRDSClusterSnapshotCopy_tags (349.14s)
--- PASS: TestAccRDSClusterSnapshotCopy_kmsKeyID (246.14s)
--- PASS: TestAccRDSClusterSnapshotCopy_destinationRegion (254.84s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/rds 591.589s
Thanks for your contribution, @RFHold! 👍 |
This functionality has been released in v5.82.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Description
This adds a resource
aws_db_cluster_snapshot_copy
, which behaves similarly to an existingaws_db_snapshot_copy
resource.Relations
Closes #27926.
Closes #39230.
Closes #40429.
References
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CopyDBClusterSnapshot.html
Output from Acceptance Testing